package net.gxtvsgwt.client;

import net.gxtvsgwt.client.ioc.AppGinjector;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.DOM;
import com.google.gwt.user.client.ui.RootPanel;

public class Gxtvsgwt implements EntryPoint {

	public static final String GXT_VERSION = "2.2.5";
	public static final String GWT_VERSION = "2.4.0";

	@Override
	public void onModuleLoad() {

		AppGinjector ginjector = GWT.create(AppGinjector.class);
		RootPanel.get().add(ginjector.getAppPresenter().getView().asWidget());
		DOM.getElementById("loading").removeFromParent();
	}
}
